import Vue from "vue";
import UUID from 'uuid';
import cordova from 'vue-cordova';
import {
    PullRefresh,
    ActionSheet,
    Button,
    Icon,
    DatetimePicker,
    Uploader,
    Toast,
    NavBar,
    NoticeBar,
    RadioGroup,
    Radio,
    Form,
    Field,
    SwipeCell,
    Checkbox,
    CheckboxGroup,
    Picker,
    Tab,
    Tabs,
    Cell,
    CellGroup,
    Switch,
    Popup,
    Col,
    Row,
    Dialog,
    List,
    Loading,
    Search,
    DropdownMenu,
    DropdownItem,
    Tabbar,
    TabbarItem,
    Collapse,
    CollapseItem,
    ImagePreview,
    IndexBar,
    IndexAnchor,
    Overlay,
    Step,
    Steps,
    Lazyload,
    Calendar,
    Tag,
    Popover,
    Badge,
    Cascader,
    TreeSelect,
    Circle,
    Area,
    Swipe,
    SwipeItem,
    Slider,
    Divider,
    Progress,
} from "vant";
import { Image as VanImage } from 'vant';
import {
    EpgisNavContainer,
    EpgisEmptyViewComponent
} from "../components/index";

initCompilier();

function initCompilier() {
    Vue.use(Lazyload, {
        lazyComponent: true,
    });
    Vue.use(UUID)
    Vue.use(cordova);
    Vue.use(ActionSheet);
    Vue.use(EpgisNavContainer);
    Vue.use(EpgisEmptyViewComponent);
    Vue.use(NavBar);
    Vue.use(Toast);
    Vue.use(Button);
    Vue.use(Icon);
    Vue.use(DatetimePicker);
    Vue.use(Uploader);
    Vue.use(RadioGroup);
    Vue.use(Radio);
    Vue.use(Form);
    Vue.use(NoticeBar);
    Vue.use(Field);
    Vue.use(SwipeCell);
    Vue.use(Checkbox);
    Vue.use(CheckboxGroup);
    Vue.use(Picker);
    Vue.use(Tab);
    Vue.use(Tabs);
    Vue.use(Cell);
    Vue.use(CellGroup);
    Vue.use(Switch);
    Vue.use(Popup);
    Vue.use(Col);
    Vue.use(Row);
    Vue.use(Dialog);
    Vue.use(List);
    Vue.use(Loading);
    Vue.use(Search);
    Vue.use(DropdownMenu);
    Vue.use(DropdownItem);
    Vue.use(Tabbar);
    Vue.use(TabbarItem);
    Vue.use(Collapse);
    Vue.use(CollapseItem);
    Vue.use(ImagePreview);
    Vue.use(IndexBar);
    Vue.use(IndexAnchor);
    Vue.use(Overlay);
    Vue.use(Step);
    Vue.use(Steps);
    Vue.use(VanImage);
    Vue.use(PullRefresh);
    Vue.use(Calendar);
    Vue.use(Tag);
    Vue.use(Popover);
    Vue.use(Badge);
    Vue.use(Cascader);
    Vue.use(TreeSelect);
    Vue.use(Circle);
    Vue.use(Area);
    Vue.use(Swipe);
    Vue.use(SwipeItem);
    Vue.use(Slider);
    Vue.use(Divider);
    Vue.use(Progress);
}